Skip to content

refactor: extract service #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2024
Merged

refactor: extract service #346

merged 1 commit into from
May 28, 2024

Conversation

ComradeVanti
Copy link
Collaborator

Currently we always parse the projects editor version so that we can put it into the env object. But we only use the editor-version inside the add command. So there is no reason to load it for example for the search command.

This change extracts the logic for determining a projects editor-version into its own service which is now used by the add command. This way users can now use other commands outside of unity projects.

Currently we always parse the projects editor version so that we can put it into the env object. But we only use the editor-version inside the add command. So there is no reason to load it for example for the search command.

This change extracts the logic for determining a projects editor-version into its own service which is now used by the add command. This way users can now use other commands outside of unity projects.
@ComradeVanti ComradeVanti merged commit 21058e6 into master May 28, 2024
6 checks passed
@ComradeVanti ComradeVanti deleted the extract-service branch May 28, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant